package com.bicon.botu.mall.order.processor.handler;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * 阿里云短信
 *
 * @author 李双喜
 * @date 2018/6/8 16:22
 */
public interface SmsRpc {

    /**
     * 批量发送阿里云短信
     *
     * @param phoneJson    手机号码集合
     * @param mapJson      短信模板参数({"code":"98745","product":"伯图全景APP"})
     * @param templateCode 短信模板
     * @return
     */
    @RequestMapping(value = "/V1.0.0/batchSendYunSms", method = RequestMethod.POST)
    String batchSendYunSms(@RequestParam(value = "phoneJson") String phoneJson, @RequestParam(value = "mapJson") String mapJson, @RequestParam(value = "templateCode") String templateCode,@RequestParam("signName") String signName);



}
